﻿using System.Net;

namespace Kay.Test.Demo
{
    public class HostHandler
    {
        public void GetIp()
        {
            var hostName = Dns.GetHostName();
            var hostIp = Dns.GetHostEntry(hostName).AddressList;
        }
    }
}